package ProjectFrame;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.GridLayout;
import java.awt.FlowLayout;
import java.awt.Dimension;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JTextField;
import javax.swing.BoxLayout;

public class ProfessorMainFrame extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					ProfessorMainFrame frame = new ProfessorMainFrame();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public ProfessorMainFrame() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 1024, 768);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);
		setResizable(false);
		
		JPanel top = new JPanel();
		top.setPreferredSize(new Dimension(10, 100));
		
		contentPane.add(top, BorderLayout.NORTH);
		top.setLayout(null);
		
		JButton button = new JButton("교수 개인 정보 수정");
		button.setActionCommand("");
		button.setBounds(213, 38, 170, 23);
		top.add(button);
		
		JButton btnNewButton_2 = new JButton("HOME");
		btnNewButton_2.setBounds(45, 38, 97, 23);
		top.add(btnNewButton_2);
		
		JPanel center = new JPanel();
		contentPane.add(center, BorderLayout.CENTER);
		
		JPanel left = new JPanel();
		left.setPreferredSize(new Dimension(200, 10));
		contentPane.add(left, BorderLayout.WEST);
		left.setLayout(null);
		
		JButton btnNewButton = new JButton("과목 정보");   // 과목 등록, 과목 수정
		btnNewButton.setBounds(50, 233, 97, 23);
		left.add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("성적 정보"); // 성적 등록, 성적 수정
		btnNewButton_1.setBounds(50, 86, 97, 23);
		left.add(btnNewButton_1);
		
	}

}
